home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / lib.fmt / c / Misc_InvokeEditor.man < prev    next >
Encoding:
Text File  |  1991-06-04  |  1.2 KB  |  69 lines

  1.  
  2.  
  3.  
  4. Misc                  C Library Procedures                   Misc
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      Misc_InvokeEditor - Invoke an editor for a user
  12.  
  13. SSYYNNOOPPSSIISS
  14.      ##iinncclluuddee <<lliibbcc..hh>>
  15.  
  16.      int
  17.      MMiisscc__IInnvvookkeeEEddiittoorr(_f_i_l_e)
  18.  
  19. AARRGGUUMMEENNTTSS
  20.      char   *_f_i_l_e   (in)      Name of the file to edit.
  21.  
  22. _________________________________________________________________
  23.  
  24.  
  25. DDEESSCCRRIIPPTTIIOONN
  26.      If a program needs to have the user edit a file, it can sim-
  27.      ply  call  MMiisscc__IInnvvookkeeEEddiittoorr  with  the  name of the file to
  28.      edit.  The user's editor (as defined by the EDITOR  environ-
  29.      ment  variable,  with vvii being the default) will be invoked.
  30.      MMiisscc__IInnvvookkeeEEddiittoorr returns the exit status from  the  editor.
  31.      For  setuid  and setgid programs, the editor is invoked with
  32.      the user's real (not effective) user and group IDs.
  33.  
  34.  
  35. KKEEYYWWOORRDDSS
  36.      edit, file
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. Sprite v.1.0         Printed:  June 4, 1991                     1
  66.  
  67.  
  68.  
  69.